﻿#ifndef READLOG_H
#define READLOG_H

#include <QDateTime>
#include <QDebug>
#include <QDialog>
#include <QDir>
#include <QFile>
#include <QHeaderView>
#include <QMenu>
#include <QMessageBox>
#include <QProcess>
#include <QTableWidget>
#include <QTextEdit>
#include <QTextStream>

namespace Ui {
class Readlog;
}

class Readlog : public QDialog {
    Q_OBJECT

public:
    explicit Readlog( QWidget* parent = nullptr );
    ~Readlog();
    void findfiles( QString the_path, QString type );

private slots:

    void on_pushButton_debug_log_clicked();

    void on_pushButton_open_file_clicked();

    void on_pushButton_crittcal_log_clicked();

    void on_pushButton_info_log_clicked();

private:
    Ui::Readlog*        ui;
    QTableWidget*       table;
    QTextEdit*          textedit;
    QStringList         labels;
    QList< QFileInfo >* fileInfo;
};

#endif  // READLOG_H
